﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class CRM_WXMoSTtoERPDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class CRM_WXMoSTtoERPRequestDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_code")]
        public string factory_code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transaction_date")]
        public string transaction_date { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "crm_moid")]
        public string crm_moid { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "erp_moorder")]
        public string erp_moorder { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transaction_type")]
        public string transaction_type { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_grade")]
        public string material_grade { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "warehouse_code")]
        public string warehouse_code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "location_code")]
        public string location_code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "batch_no")]
        public string batch_no { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public double material_amount { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_unit")]
        public string material_unit { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "user_no")]
        public string user_no { get; set; }


        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public List<CRM_WXMoSTtoERPRequestData> data { get; set; }       
    }
    public class CRM_WXMoSTtoERPRequestData
    {
        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "parent_barcode_no")]
        public string parent_barcode_no { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no")]
        public string barcode_no { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "power_max")]
        public string power_max { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "current_isc")]
        public string current_isc { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "voltage_voc")]
        public string voltage_voc { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "current_imp")]
        public string current_imp { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "voltage_vmp")]
        public string voltage_vmp { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_ff")]
        public string material_ff { get; set; }

        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public double? material_amount { get; set; }
      

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class CRM_WXMoSTtoERPResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }



        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }     
    }

}
